import os
import wx
import fm
import debug

def get_configuration_dir():
	p=wx.StandardPaths.Get().GetUserDataDir()
	if debug.ON:
		p += '_DEBUG'
	return p

def get_user_settings_module_path():
	return os.path.join(fm.configuration_dir,"settings.py")
	
def get_default_settings_dump_path():
	return os.path.join(fm.configuration_dir,"default_settings.example")
	
def get_persistent_state_savefile_path():
	return os.path.join(fm.configuration_dir,"persistent_state.savefile")